//
//  LWZRankTableViewCell.m
//  MusicFM
//
//  Created by 王景欣 on 16/1/13.
//  Copyright © 2016年 LWZ. All rights reserved.
//

#import "LWZRankTableViewCell.h"



@implementation LWZRankTableViewCell

- (void)setRankModel:(LWZFMRankListModel *)rankModel {
    if (_rankModel != rankModel) {
        _rankModel = rankModel;
    }
    [self.coverSmallImageView yy_setImageWithURL:[NSURL URLWithString:self.rankModel.coverSmall] placeholder:[UIImage imageNamed:@"13648832,2880,1800"]];
    
    self.titleLabel.text = self.rankModel.title;
    
    self.nickNameLabel.text = self.rankModel.nickname;    
}


- (void)setModel:(LWZFirstOtherRowModel *)model {
    if (_model != model) {
        _model = model;
    }
    
    [self.coverSmallImageView yy_setImageWithURL:[NSURL URLWithString:self.model.coverSmall] placeholder:[UIImage imageNamed:@"13648832,2880,1800"]];
    self.titleLabel.text = self.model.title;
    self.nickNameLabel.text = self.model.nickname;
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
